<?php

namespace app\repositories\contracts;

/***
 * Interface ClientInterface
 * @NAMESPACE app\repositories\contracts
 * @Author Vee7
 * @Date 2021/12/14
 * @Time 13:11
 * @Description 后台授权应用接口
 */
interface ClientInterface
{
    /***
     * @return mixed
     * @Author Vee7
     * @Date 2021/12/14
     * @Time 13:11
     * @Description 获取后台授权应用列表
     */
    public function getClientList($orderby='sort',$order='desc');

    public function addClientList(array $addArray);

    public function getClientListCount();

    public function getClientListPage($page,$limit,$orderby='sort',$order='desc');

    public function delClientList(array $id);

    public function editClientList(array $data);

}